package com.bnz.starter.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "my0710")
@Component
public class HelloProperties {

    private String name = "小明";
    private int age = 18;


}
